package com.asion.vmovie.ui.MVPContract;

import com.asion.vmovie.beans.ChannalsBean;
import com.asion.vmovie.ui.MVPModel.BaseModel;
import com.asion.vmovie.ui.MVPPresenter.BasePresenter;
import com.asion.vmovie.ui.MVPView.BaseView;

/**
 * Created by asion on 16-10-18.
 */

public interface PingDapContract {

    interface Model extends BaseModel{
        void getPingDaoData(OnGetPingDaoSuccess onGetPingDaoSuccess);
    }

    interface View extends BaseView<ChannalsBean>{

    }

    abstract class Presenter extends BasePresenter<View,Model>{
        public abstract void getPingDaoData();
    }

    interface OnGetPingDaoSuccess{
        void onGetSuccess(ChannalsBean channalsBean);
        void onGetError(Throwable throwable);
    }
}
